
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../public/css/index.css">
    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.css">
</head>
<body>
    <div class="container-2">
        <h1>欢迎来到聊天室</h1>
        <img src="../public/images/a.gif" alt="">
    </div>
    <p class="anniu"><a href="/post" class="btn btn-primary btn-lg" role="button">留言</a></p>
    <ul class="list-group liuyan ">
        {{ each comments }}
        <li class="list-group-item"><p>{{ $value.name}} 说 :  {{ $value.content}}</p></li>
        {{ /each }}
    </ul>
</body>
</html>